package com.ruoyi.system.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 完工入库对象 mes_finin
 * 
 * @author ruoyi
 * @date 2024-06-01
 */
public class MesFinin extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 完工入库id */
    private Integer id;

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    /** 任务卡编码 */
    @Excel(name = "任务编码")
    private String taskId;

    /** 产品名 */
    @Excel(name = "产品名")
    private String prodName;

    /** 产品编码 */
    @Excel(name = "产品编码")
    private String prodId;

    /** 数量 */
    @Excel(name = "数量")
    private Long prodNum;

    /** 库位编码 */
    @Excel(name = "库位编码")
    private String locaId;

    /** 入库时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入库时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date finInTime;

    public List<MesFinin> getMtrs() {
        return mtrs;
    }

    public void setMtrs(List<MesFinin> mtrs) {
        this.mtrs = mtrs;
    }

    private List<MesFinin> mtrs;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }

    public void setProdName(String prodName) 
    {
        this.prodName = prodName;
    }

    public String getProdName() 
    {
        return prodName;
    }
    public void setProdId(String prodId) 
    {
        this.prodId = prodId;
    }

    public String getProdId() 
    {
        return prodId;
    }
    public void setProdNum(Long prodNum)
    {
        this.prodNum = prodNum;
    }

    public Long getProdNum()
    {
        return prodNum;
    }
    public void setLocaId(String locaId) 
    {
        this.locaId = locaId;
    }

    public String getLocaId() 
    {
        return locaId;
    }
    public void setFinInTime(Date finInTime) 
    {
        this.finInTime = finInTime;
    }

    public Date getFinInTime() 
    {
        return finInTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("taskId", getTaskId())
            .append("prodName", getProdName())
            .append("prodId", getProdId())
            .append("procNum", getProdNum())
            .append("locaId", getLocaId())
            .append("finInTime", getFinInTime())
            .toString();
    }
}
